<?php

namespace App\Observers;

use App\Models\Package;


class PackageObserver
{

// creating, created, updating, updated, saving,
// saved,  deleting, deleted, restoring, restored

    public function saving(Package $package){

        $package->created_at = now();
        $package->updated_at = now();
    }
    //
}
